<?php

namespace app\service;

interface CategoryService
{

    public function listOf(array $categoryPageQueryDTO);

    public function save(array $categoryDTO);

    public function deleteById(int $id);

    public function update(array $categoryDTO);

    public function startOrStop(string $status, int $id);

    public function getListByType($type=1);
}